#ifndef _ICE_HANDLER_ICE_H_
#define _ICE_HANDLER_ICE_H_

#include "LuaHandler.h"
#include "IceUtil/Exception.h"

class LuaException;
class InputStreamWrapper;

template<>
inline void LuaHandler::push<const Ice::Exception*>(const Ice::Exception* arg)
{
	pushUserType(const_cast<Ice::Exception*>(arg), "Ice::Exception");
}

template<>
inline void LuaHandler::push<const LuaException*>(const LuaException* arg)
{
	pushUserType(const_cast<LuaException*>(arg), "LuaException");
}

template<>
inline void LuaHandler::push<LuaException*>(LuaException* arg)
{
	pushUserType(arg, "LuaException");
}

template<>
inline void LuaHandler::push<InputStreamWrapper*>(InputStreamWrapper* arg)
{
	pushUserType(arg, "InputStreamWrapper");
}

#endif //_ICE_HANDLER_ICE_H_